/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    
package be.vdabantwerpen.gow.entities.actions;
    
import com.google.appengine.repackaged.org.joda.time.DateTime;

/**
 *
 * @author Tim.VandenLangenberg
 * @version 1.0
 */
public class StarActionFactory {
    public static Action getAction(int stars){
        if(stars == 1){
            return new OneStarAction(0, DateTime.now());
        }
        if(stars == 2){
            return new TwoStarAction(0, DateTime.now());
        }
        if(stars == 3){
            return new ThreeStarAction(0, DateTime.now());
        }
        if(stars == 4){
            return new FourStarAction(0, DateTime.now());
        }
        if(stars == 5){
            return new FiveStarAction(0, DateTime.now());
        }
        return null;
    }

}